import ChatClient from "@/pages/main/ai/ChatClient.vue"
import Agents from "@/pages/main/ai/Agents.vue"
import Knowledge from "@/pages/main/ai/Knowledge.vue"
import Models from "@/pages/main/ai/Models.vue"
import Mcp from "@/pages/main/ai/Mcp.vue"


export default {
    path: '/ai',
    name: 'AI',
    icon: 'customChat',
    meta: {
        ln: 'router.ai.title',
        auth: true,
        frame: true,
        menu: true
    },
    children: [
        {
            path: '/ai/models',
            name: 'Models',
            component: Models,
            icon: 'customModels',
            meta: {
                ln: 'router.ai.models',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/ai/knowledge',
            name: 'Knowledge',
            component: Knowledge,
            icon: 'customKnowledge',
            meta: {
                ln: 'router.ai.knowledge',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/ai/mcp',
            name: 'Mcp',
            component: Mcp,
            icon: 'customTool',
            meta: {
                ln: 'router.ai.mcp',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/ai/agents',
            name: 'Agents',
            component: Agents,
            icon: 'customAgents',
            meta: {
                ln: 'router.ai.agents',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/ai/chat',
            name: 'ChatClient',
            component: ChatClient,
            icon: 'customChatClient',
            meta: {
                ln: 'router.ai.client',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
    ]
}